package com.yager.service;

import com.github.pagehelper.PageInfo;
import com.yager.model.Comment;

import java.util.List;

public interface CommentService {

    public void addNewComment(String userid,String typeid,String description);

    public void deleteComment(String commentid);

    public PageInfo<Comment> getAllCommentByHouseId(String houseid,Integer pageNo);

    public PageInfo<Comment> getAllCommentByOrderId(String orderid,Integer pageNo);

    public boolean isHouseHasComment(String houseid);

    public boolean isOrderHasComment(String orderid);

}
